JavaScript

A5.ControlBarrefresh Method

Syntax

A5.ControlBar.refresh([animation[,delayRender]])

Arguments

animationbooleanstringobject

What animation to perform. To not animate pass in false. If a string is passed in the value of the string is assumed to be the name of the animation to do. If an object is passed in it must conform to the control bar animation object. See A5.ControlBar Animation Object.

delayRenderboolean

Whether or not to delay the refresh of the control bar. This is useful if other code may also refresh the control bar and it is desirable to only have one refresh occur.

Description

Refresh the control bar.

Example

// assume cbObj is a pointer to an instance of A5.ControlBar
cbObj.refresh({
	type: 'fade',
	duration: 300
}); // refresh the control bar with a fade animation taking .3 seconds